<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!doctype html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">

	<title>后台登陆</title>
	<%@ include file="/share/systemInclude.jsp" %>
	<style type="text/css">
		html, body { 
			background: url(${root}/system/images/login/bg.gif);
			overflow-y: auto;
			overflow-x: hidden;
			font:normal 15px "Microsoft YaHei";
		}
	</style>
	<script type="text/javascript">
		function submitForm(id){
			var url = '${root }/control/system/employeeController/login.do';
			var param = $('#'+id).serialize();
			$.post(url,param,function(msg){
				if(msg.indexOf("success") > 0){
					msg = msg.substring(0, msg.length - 7);
					window.location.href = '${root}/control/system/employeeController/displayIndex.do?';
					//window.location.href = '${root}/control/user/userController/displayUserCenter.do?userId='+msg;
				}else {
					alert(msg);
				}
			});
		}
	</script>
</head>
<body>
	<!-- <div id="login_top">
		<div id="welcome">
			欢迎使用教学质量与教学改革工程管理系统
		</div>
		<div id="back">
			<a href="#">返回首页</a>&nbsp;&nbsp; | &nbsp;&nbsp;
			<a href="#">帮助</a>
		</div>
	</div> -->
	<div id="login_center">
		<div id="login_area">
			<div id="login_form">
				<form action="sysIndex.jsp" method="post" id="emplLoginForm">
					<div id="login_tip">
						管理员登录&nbsp;&nbsp;Login
					</div>
					<div><input type="text" class="username" name="employeeName" value="decorEmpl"></div>
					<div><input type="text" class="pwd" name="password" value="123456"></div>
					<div id="btn_area">
						<input type="button" name="submit" id="sub_btn" value="登&nbsp;&nbsp;录" onclick="submitForm('emplLoginForm');">&nbsp;&nbsp;
						<%-- <input type="text" class="verify">
						<img src="${root }/system/images/login/verify.png" alt="" width="80" height="40"> --%>
					</div>
				</form>
			</div>
		</div>
	</div>
	<div id="login_bottom">
		版权所有
	</div>
</body>
</html>